inherited fmWarehouseInfo: TfmWarehouseInfo
  Caption = #20179#24211#20449#24687
  PixelsPerInch = 96
  TextHeight = 13
  inherited lcMain: TdxLayoutControl
    inherited lblCreateDate: TRzDBLabel
      Left = 639
      Top = 289
      DataField = 'bwh_createdate'
      DataSource = dsBase
      ExplicitLeft = 639
      ExplicitTop = 289
    end
    inherited lblCreateStaff: TRzDBLabel
      Left = 639
      Top = 269
      DataField = 'bwh_createstaff'
      DataSource = dsBase
      ExplicitLeft = 639
      ExplicitTop = 269
    end
    inherited lblModifyDate: TRzDBLabel
      Left = 503
      Top = 289
      DataField = 'bwh_modifydate'
      ExplicitLeft = 503
      ExplicitTop = 289
    end
    inherited lblModifyStaff: TRzDBLabel
      Left = 503
      Top = 269
      DataField = 'bwh_modifystaff'
      ExplicitLeft = 503
      ExplicitTop = 269
    end
    object cxDBTextEdit6: TRzDBEdit [4]
      Left = 231
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bwh_address'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 2
    end
    object cxDBMemo1: TRzDBMemo [5]
      Left = 231
      Top = 52
      Width = 120
      Height = 21
      DataField = 'bwh_remark'
      DataSource = dsBase
      TabOrder = 3
      OnEnter = MemoEnter
      OnExit = MemoExit
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
    end
    object cbxStaff: TRzDBComboBox [6]
      Left = 415
      Top = 28
      Width = 120
      Height = 21
      DataField = 'bwh_staff'
      DataSource = dsBase
      Ctl3D = False
      FlatButtonColor = 9229030
      FlatButtons = True
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      ItemHeight = 13
      ParentCtl3D = False
      TabOrder = 4
      OnDropDown = cbxStaffDropDown
    end
    object cxDBTextEdit1: TRzDBEdit [7]
      Left = 59
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bwh_name'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 0
    end
    object cxDBTextEdit4: TRzDBEdit [8]
      Left = 59
      Top = 52
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bwh_fax'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 1
    end
    object cxDBTextEdit3: TRzDBEdit [9]
      Left = 587
      Top = 28
      Width = 120
      Height = 21
      DataSource = dsBase
      DataField = 'bwh_tel'
      FocusColor = 13824245
      FrameColor = 5607865
      FrameHotStyle = fsGroove
      FrameSides = [sdBottom]
      FrameVisible = True
      FramingPreference = fpCustomFraming
      TabOrder = 5
    end
    inherited pcDetails: TcxPageControl
      Top = 110
      Width = 710
      Height = 147
      TabOrder = 6
      ExplicitTop = 110
      ExplicitWidth = 710
      ExplicitHeight = 147
      ClientRectBottom = 147
      ClientRectRight = 710
      inherited cxTabSheet1: TcxTabSheet
        ExplicitWidth = 710
        ExplicitHeight = 147
        inherited grdDetails: TcxGrid
          Width = 710
          Height = 147
          ExplicitWidth = 710
          ExplicitHeight = 147
          inherited tvDetails: TcxGridDBBandedTableView
            DataController.Summary.FooterSummaryItems = <
              item
                Kind = skCount
                Column = tvDetailsColumn1
              end
              item
                Kind = skSum
                Column = tvDetailsGwAmt
              end
              item
                Kind = skSum
                Column = tvDetailsColumn7
              end
              item
                Kind = skSum
                Column = tvDetailsAmt
              end
              item
                Kind = skSum
                Column = tvDetailsAmtRmb
              end>
            Bands = <
              item
              end
              item
                Visible = False
              end>
            object tvDetailsColumn1: TcxGridDBBandedColumn [0]
              Caption = '#'
              Visible = False
              Width = 26
              Position.BandIndex = 0
              Position.ColIndex = 0
              Position.RowIndex = 0
            end
            object tvDetailsColumn2: TcxGridDBBandedColumn [1]
              Caption = #20869#37096#32534#21495
              DataBinding.FieldName = 'dwi_productno'
              PropertiesClassName = 'TcxButtonEditProperties'
              Properties.Buttons = <
                item
                  Default = True
                  Kind = bkEllipsis
                end>
              Properties.ReadOnly = True
              Properties.OnButtonClick = tvDetailsColumn2PropertiesButtonClick
              Width = 88
              Position.BandIndex = 0
              Position.ColIndex = 1
              Position.RowIndex = 0
            end
            object tvDetailsColumn3: TcxGridDBBandedColumn [2]
              Caption = #20135#21697#21517#31216
              DataBinding.FieldName = 'dwi_productname'
              Options.Editing = False
              Width = 86
              Position.BandIndex = 0
              Position.ColIndex = 3
              Position.RowIndex = 0
            end
            object tvDetailsColumn4: TcxGridDBBandedColumn [3]
              Caption = #20013#25991#21697#21517
              DataBinding.FieldName = 'dwi_productcnname'
              Options.Editing = False
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 5
              Position.RowIndex = 0
            end
            object tvDetailsGw: TcxGridDBBandedColumn [4]
              Caption = #27611#37325
              DataBinding.FieldName = 'dwi_gw'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Visible = False
              Options.Editing = False
              Width = 67
              Position.BandIndex = 0
              Position.ColIndex = 7
              Position.RowIndex = 0
            end
            object tvDetailsGwAmt: TcxGridDBBandedColumn [5]
              Caption = #27611#37325#23567#35745
              DataBinding.FieldName = 'dwi_gwamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Visible = False
              Options.Editing = False
              Width = 67
              Position.BandIndex = 0
              Position.ColIndex = 8
              Position.RowIndex = 0
            end
            object tvDetailsColumn7: TcxGridDBBandedColumn [6]
              Caption = #25968#37327
              DataBinding.FieldName = 'dwi_qty'
              Position.BandIndex = 0
              Position.ColIndex = 9
              Position.RowIndex = 0
            end
            object tvDetailsColumn8: TcxGridDBBandedColumn [7]
              Caption = #21333#20301
              DataBinding.FieldName = 'dwi_unit'
              Width = 69
              Position.BandIndex = 0
              Position.ColIndex = 10
              Position.RowIndex = 0
            end
            object tvDetailsPrice: TcxGridDBBandedColumn [8]
              Caption = #21333#20215
              DataBinding.FieldName = 'dwi_sellprice'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Editing = False
              Width = 67
              Position.BandIndex = 0
              Position.ColIndex = 13
              Position.RowIndex = 0
            end
            object tvDetailsAmt: TcxGridDBBandedColumn [9]
              Caption = #37329#39069
              DataBinding.FieldName = 'dwi_sellamt'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Options.Editing = False
              Width = 68
              Position.BandIndex = 0
              Position.ColIndex = 14
              Position.RowIndex = 0
            end
            object tvDetailsColumn11: TcxGridDBBandedColumn [10]
              Caption = #33521#25991#21697#21517
              DataBinding.FieldName = 'dwi_productenname'
              Options.Editing = False
              Width = 78
              Position.BandIndex = 0
              Position.ColIndex = 6
              Position.RowIndex = 0
            end
            object tvDetailsColumn12: TcxGridDBBandedColumn [11]
              Caption = #22791#27880
              DataBinding.FieldName = 'dwi_remark'
              Width = 116
              Position.BandIndex = 0
              Position.ColIndex = 16
              Position.RowIndex = 0
            end
            inherited tvDetailsColumnLast: TcxGridDBBandedColumn
              Position.BandIndex = 0
              Position.ColIndex = 17
              Position.RowIndex = 0
            end
            inherited tvDetailsOrder: TcxGridDBBandedColumn
              Position.ColIndex = 18
            end
            object tvDetailsColumn13: TcxGridDBBandedColumn
              Caption = #20135#21697#22411#21495
              DataBinding.FieldName = 'dwi_productrealno'
              Options.Editing = False
              Width = 95
              Position.BandIndex = 0
              Position.ColIndex = 2
              Position.RowIndex = 0
            end
            object tvDetailsColumn5: TcxGridDBBandedColumn
              Caption = #22411#21495#25551#36848
              DataBinding.FieldName = 'dwi_productdesc'
              Width = 80
              Position.BandIndex = 0
              Position.ColIndex = 4
              Position.RowIndex = 0
            end
            object tvDetailsColumn6: TcxGridDBBandedColumn
              Caption = #24065#21035
              DataBinding.FieldName = 'dwi_sellmcode'
              Width = 60
              Position.BandIndex = 0
              Position.ColIndex = 11
              Position.RowIndex = 0
            end
            object tvDetailsColumn9: TcxGridDBBandedColumn
              Caption = #27719#29575
              DataBinding.FieldName = 'dwi_sellrate'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Properties.DisplayFormat = '0.00;-,0.00'
              Position.BandIndex = 0
              Position.ColIndex = 12
              Position.RowIndex = 0
            end
            object tvDetailsAmtRmb: TcxGridDBBandedColumn
              Caption = #37329#39069#25240'RMB'
              DataBinding.FieldName = 'dwi_sellamtrmb'
              PropertiesClassName = 'TcxCurrencyEditProperties'
              Width = 90
              Position.BandIndex = 0
              Position.ColIndex = 15
              Position.RowIndex = 0
            end
          end
        end
      end
    end
    inherited lcgRoot: TdxLayoutGroup
      Index = -1
    end
    inherited lcgBaseInfoNormal: TdxLayoutGroup
      Index = 0
    end
    inherited lcgBaseInfoLeft: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 0
    end
    inherited lcgBaseInfoMiddle: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 1
    end
    inherited lcgBaseInfoRight: TdxLayoutGroup
      CaptionOptions.Visible = False
      ShowBorder = False
      Index = 2
    end
    inherited lcgBaseInfoLast: TdxLayoutGroup
      Index = 3
    end
    inherited lcgDetails: TdxLayoutGroup
      CaptionOptions.Text = #26399#21021#24211#23384#26126#32454
      Visible = False
      Index = 1
    end
    inherited lcpcDetails: TdxLayoutItem
      Index = 0
    end
    inherited lcgArchive: TdxLayoutGroup
      Index = 2
    end
    inherited lcArchive2: TdxLayoutGroup
      Index = 0
    end
    inherited lcitemModifyStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemModifyDate: TdxLayoutItem
      Index = 1
    end
    inherited lcgArchive1: TdxLayoutGroup
      Index = 1
    end
    inherited lcitemCreateStaff: TdxLayoutItem
      Index = 0
    end
    inherited lcitemCreateDate: TdxLayoutItem
      Index = 1
    end
    object lcMainItem1: TdxLayoutItem
      CaptionOptions.Text = #20179#24211#21517#31216
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit1
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem5: TdxLayoutItem
      CaptionOptions.Text = #20256#30495
      Parent = lcgBaseInfoLeft
      Control = cxDBTextEdit4
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem3: TdxLayoutItem
      CaptionOptions.Text = #22320#22336
      Parent = lcgBaseInfoMiddle
      Control = cxDBTextEdit6
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem6: TdxLayoutItem
      CaptionOptions.Text = #22791#27880
      Parent = lcgBaseInfoMiddle
      Control = cxDBMemo1
      ControlOptions.ShowBorder = False
      Index = 1
    end
    object lcMainItem7: TdxLayoutItem
      CaptionOptions.Text = #20179#31649#21592
      LayoutLookAndFeel = dmImages.lfMust
      Parent = lcgBaseInfoRight
      Control = cbxStaff
      ControlOptions.ShowBorder = False
      Index = 0
    end
    object lcMainItem4: TdxLayoutItem
      CaptionOptions.Text = #30005#35805
      Parent = lcgBaseInfoLast
      Control = cxDBTextEdit3
      ControlOptions.ShowBorder = False
      Index = 0
    end
  end
  inherited pnlRight: TPanel
    inherited frameAttachs: TfrmAttachs
      inherited bmAttachs: TdxBarManager
        DockControlHeights = (
          0
          0
          26
          0)
      end
    end
  end
  inherited BarManager: TdxBarManager
    DockControlHeights = (
      0
      0
      26
      0)
  end
  inherited tblBase: TDAMemDataTable
    Fields = <
      item
        Name = 'bwh_id'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'bwh_name'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bwh_address'
        DataType = datString
        Size = 60
      end
      item
        Name = 'bwh_staff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bwh_tel'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bwh_fax'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bwh_remark'
        DataType = datString
        Size = 60
      end
      item
        Name = 'bwh_createstaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bwh_createdate'
        DataType = datDateTime
      end
      item
        Name = 'bwh_modifystaff'
        DataType = datString
        Size = 30
      end
      item
        Name = 'bwh_modifydate'
        DataType = datDateTime
      end
      item
        Name = 'bwh_oid'
        DataType = datGuid
      end
      item
        Name = 'bwh_oiid'
        DataType = datInteger
      end
      item
        Name = 'bwh_osimpname'
        DataType = datString
        Size = 30
      end>
    LogicalName = 'b_warehouse'
  end
  inherited dsBase: TDADataSource
    DataSet = tblBase.Dataset
  end
  inherited tblDetails: TDAMemDataTable
    Fields = <
      item
        Name = 'dwi_whid'
        DataType = datGuid
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dwi_serial'
        DataType = datAutoInc
        GeneratorName = 'd_warehouseitem'
        Required = True
        InPrimaryKey = True
      end
      item
        Name = 'dwi_productid'
        DataType = datGuid
        Required = True
      end
      item
        Name = 'dwi_productno'
        DataType = datString
        Size = 30
      end
      item
        Name = 'dwi_productrealno'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwi_productname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwi_productcnname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwi_productenname'
        DataType = datString
        Size = 120
      end
      item
        Name = 'dwi_productdesc'
        DataType = datString
        Size = 240
      end
      item
        Name = 'dwi_sellprice'
        DataType = datFloat
      end
      item
        Name = 'dwi_sellmcode'
        DataType = datString
        Size = 10
      end
      item
        Name = 'dwi_sellrate'
        DataType = datFloat
      end
      item
        Name = 'dwi_qty'
        DataType = datFloat
        OnValidate = tblDetailsdwi_qtyValidate
      end
      item
        Name = 'dwi_unit'
        DataType = datString
        Size = 20
      end
      item
        Name = 'dwi_sellamt'
        DataType = datFloat
      end
      item
        Name = 'dwi_sellamtrmb'
        DataType = datFloat
      end
      item
        Name = 'dwi_gw'
        DataType = datFloat
      end
      item
        Name = 'dwi_gwamt'
        DataType = datFloat
      end
      item
        Name = 'dwi_remark'
        DataType = datString
        Size = 120
      end>
    MasterMappingMode = mmWhere
    BeforePost = tblDetailsBeforePost
    MasterSource = dsBase
    MasterFields = 'bwh_id'
    DetailFields = 'dwi_whid'
    LogicalName = 'd_warehouseitem'
    Left = 56
    Top = 192
  end
  inherited dsDetails: TDADataSource
    DataSet = tblDetails.Dataset
    Top = 204
  end
  inherited cxEditStyleController1: TcxEditStyleController
    PixelsPerInch = 96
  end
  inherited cxStyleRepository2: TcxStyleRepository
    PixelsPerInch = 96
  end
  inherited cxStyleRepository3: TcxStyleRepository
    PixelsPerInch = 96
  end
end
